package com.cx.mall.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cx.mall.user.entity.UserInfo;
import org.springframework.stereotype.Service;

//@Service
public interface IUserService extends IService<UserInfo> {
    /**
     * 登录
     * @param username
     * @param password
     * @return
     */
    /**
     *
     * @param username
     * @param password
     * @return
     * @throws Exception
     */
    UserInfo login(String username,String password) throws Exception;
}